package com.axin.common.core.constant;

/**
 * 通用常量信息
 *
 * @Author 阿欣
 * @Date 2021/8/15 22:48
 **/
public class Constants {




    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";


    /**
     * 用户ID
     */
    public static final String JWT_USERID = "userid";

    /**
     * 用户名称
     */
    public static final String JWT_USERNAME = "sub";

    /**
     * 用户头像
     */
    public static final String JWT_AVATAR = "avatar";

    /**
     * 创建时间
     */
    public static final String JWT_CREATED = "created";

    /**
     * 用户权限
     */
    public static final String JWT_AUTHORITIES = "authorities";


    /** 通用状态(停用) */
    public static final Integer ON = 0;

    /** 通用状态(启用) */
    public static final Integer OFF = 1;






    /**
     * 数字 0~11
     */
    public final static int NUM_ZERO = 0;
    public final static int NUM_ONE = 1;
    public final static int NUM_TWO = 2;
    public final static int NUM_THREE = 3;
    public final static int NUM_FOUR = 4;
    public final static int NUM_FIVE = 5;
    public final static int NUM_SIX = 6;
    public final static int NUM_SEVEN = 7;
    public final static int NUM_EIGHT = 8;
    public final static int NUM_NINE = 9;
    public final static int NUM_TEN = 10;
    public final static int NUM_ELEVEN = 11;
}
